package com.gxa.p2p.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.Date;

/**
 * @author xiangzuo
 * 体验标日志
 */
@Data
@AllArgsConstructor
@NoArgsConstructor

@ApiModel("体验金记录")
public class Expmarklog implements Serializable {

  private Long id;
  @ApiModelProperty(name = "name",value = "投资人记录")
  private String name;
  @ApiModelProperty(name = "phone",value = "投资人手机")
  private String phone;
  @ApiModelProperty(name = "userOrign",value = "用户来源")
  private String userOrign;
  @ApiModelProperty(name = "colTime",value = "领取时间")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
  private Timestamp colTime;
  @ApiModelProperty(name = "overTime",value = "过期时间")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
  private Timestamp overTime;
  @ApiModelProperty(name = "useTime",value = "使用时间")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
  private Timestamp useTime;
  @ApiModelProperty(name = "markName",value = "投资标名")
  private String markName;
  @ApiModelProperty(name = "money",value = "体验金额")
  private Double money;
  @ApiModelProperty(name = "annual",value = "年化收益利率")
  private Double annual;
  @ApiModelProperty(name = "income",value = "收益")
  private Double income;
  @ApiModelProperty(name = "state",value = "状态(未使用/已使用/已过期)")
  private String state;
}
